package org.jjj.basic.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 返回给前端的数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageList<T> {
    //总条数
    private long total = 0;
    //当前页展示的数据
    private List<T> rows = new ArrayList();
}
